#include "FWSurface.h"


FWSurface::FWSurface()
{
	this->height = this->width = 0;
	this->surface = NULL;
}

FWSurface::~FWSurface()
{
}

int FWSurface::getWidth()
{
	return width;
}

int FWSurface::getHeight()
{
	return height;
}

LPDIRECT3DSURFACE9 FWSurface::getSurface()
{
	return surface;
}
LPDIRECT3DSURFACE9* FWSurface::getPSurface()
{
	return &surface;
}

void FWSurface::setHeight(int h)
{
	this->height = h;
}

void FWSurface::setWidth(int w)
{
	this->width = w;
}

void FWSurface::setSurface(LPDIRECT3DSURFACE9 sur)
{
	this->surface = sur;
}